package com.example.teesystem.service;

import com.example.teesystem.common.utils.Response;
import com.example.teesystem.entity.AdvancedTrainingProgress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teesystem.entity.vo.advancedTrain.AdAnswer;
import com.example.teesystem.entity.vo.advancedTrain.AdTrainProgressUploadVo;

import java.util.List;

/**
* @author 28131
* @description 针对表【t_advanced_training_progress】的数据库操作Service
* @createDate 2022-04-02 11:05:55
*/
public interface AdvancedTrainingProgressService extends IService<AdvancedTrainingProgress> {
    
    boolean add(AdTrainProgressUploadVo adTrainProgressUploadVo);
    
    List<AdvancedTrainingProgress> get(Integer studentId);
    
    List<AdvancedTrainingProgress> get(List<Integer> studentIds);

    Response answer(AdAnswer adAnswer);

    Response getFinishAndOpenId(int courseId);
    
}
